0 Prolog
↳1 PrologToPiTRSProof (⇒, 0 ms)
↳2 PiTRS
↳3 DependencyPairsProof (⇔, 198 ms)
↳4 PiDP
↳5 DependencyGraphProof (⇔, 0 ms)
↳6 PiDP
↳7 PiDPToQDPProof (⇔, 41 ms)
↳8 QDP
↳9 QDPOrderProof (⇔, 454 ms)
↳10 QDP
↳11 DependencyGraphProof (⇔, 0 ms)
↳12 QDP
↳13 UsableRulesProof (⇔, 0 ms)
↳14 QDP
↳15 QReductionProof (⇔, 0 ms)
↳16 QDP
↳17 QDPSizeChangeProof (⇔, 0 ms)
↳18 YES
q_in_gg(X, Y) → U1_gg(X, Y, e_in_gg(X, Y))
e_in_gg(a, b) → e_out_gg(a, b)
U1_gg(X, Y, e_out_gg(X, Y)) → q_out_gg(X, Y)
q_in_gg(X, f(f(X))) → U2_gg(X, p_in_gg(X, f(f(X))))
p_in_gg(X, Y) → U5_gg(X, Y, e_in_gg(X, Y))
U5_gg(X, Y, e_out_gg(X, Y)) → p_out_gg(X, Y)
p_in_gg(X, f(Y)) → U6_gg(X, Y, r_in_gg(X, f(Y)))
r_in_gg(X, Y) → U8_gg(X, Y, e_in_gg(X, Y))
U8_gg(X, Y, e_out_gg(X, Y)) → r_out_gg(X, Y)
r_in_gg(X, f(Y)) → U9_gg(X, Y, q_in_gg(X, Y))
q_in_gg(X, f(f(Y))) → U4_gg(X, Y, p_in_gg(X, f(Y)))
U4_gg(X, Y, p_out_gg(X, f(Y))) → q_out_gg(X, f(f(Y)))
U9_gg(X, Y, q_out_gg(X, Y)) → U10_gg(X, Y, r_in_gg(X, Y))
r_in_gg(f(X), f(X)) → U11_gg(X, t_in_gg(f(X), f(X)))
t_in_gg(X, Y) → U12_gg(X, Y, e_in_gg(X, Y))
U12_gg(X, Y, e_out_gg(X, Y)) → t_out_gg(X, Y)
t_in_gg(f(X), f(Y)) → U13_gg(X, Y, q_in_gg(f(X), f(Y)))
U13_gg(X, Y, q_out_gg(f(X), f(Y))) → U14_gg(X, Y, t_in_gg(X, Y))
U14_gg(X, Y, t_out_gg(X, Y)) → t_out_gg(f(X), f(Y))
U11_gg(X, t_out_gg(f(X), f(X))) → r_out_gg(f(X), f(X))
U10_gg(X, Y, r_out_gg(X, Y)) → r_out_gg(X, f(Y))
U6_gg(X, Y, r_out_gg(X, f(Y))) → U7_gg(X, Y, p_in_gg(X, Y))
U7_gg(X, Y, p_out_gg(X, Y)) → p_out_gg(X, f(Y))
U2_gg(X, p_out_gg(X, f(f(X)))) → U3_gg(X, q_in_gg(X, f(X)))
U3_gg(X, q_out_gg(X, f(X))) → q_out_gg(X, f(f(X)))
Infinitary Constructor Rewriting Termination of PiTRS implies Termination of Prolog
q_in_gg(X, Y) → U1_gg(X, Y, e_in_gg(X, Y))
e_in_gg(a, b) → e_out_gg(a, b)
U1_gg(X, Y, e_out_gg(X, Y)) → q_out_gg(X, Y)
q_in_gg(X, f(f(X))) → U2_gg(X, p_in_gg(X, f(f(X))))
p_in_gg(X, Y) → U5_gg(X, Y, e_in_gg(X, Y))
U5_gg(X, Y, e_out_gg(X, Y)) → p_out_gg(X, Y)
p_in_gg(X, f(Y)) → U6_gg(X, Y, r_in_gg(X, f(Y)))
r_in_gg(X, Y) → U8_gg(X, Y, e_in_gg(X, Y))
U8_gg(X, Y, e_out_gg(X, Y)) → r_out_gg(X, Y)
r_in_gg(X, f(Y)) → U9_gg(X, Y, q_in_gg(X, Y))
q_in_gg(X, f(f(Y))) → U4_gg(X, Y, p_in_gg(X, f(Y)))
U4_gg(X, Y, p_out_gg(X, f(Y))) → q_out_gg(X, f(f(Y)))
U9_gg(X, Y, q_out_gg(X, Y)) → U10_gg(X, Y, r_in_gg(X, Y))
r_in_gg(f(X), f(X)) → U11_gg(X, t_in_gg(f(X), f(X)))
t_in_gg(X, Y) → U12_gg(X, Y, e_in_gg(X, Y))
U12_gg(X, Y, e_out_gg(X, Y)) → t_out_gg(X, Y)
t_in_gg(f(X), f(Y)) → U13_gg(X, Y, q_in_gg(f(X), f(Y)))
U13_gg(X, Y, q_out_gg(f(X), f(Y))) → U14_gg(X, Y, t_in_gg(X, Y))
U14_gg(X, Y, t_out_gg(X, Y)) → t_out_gg(f(X), f(Y))
U11_gg(X, t_out_gg(f(X), f(X))) → r_out_gg(f(X), f(X))
U10_gg(X, Y, r_out_gg(X, Y)) → r_out_gg(X, f(Y))
U6_gg(X, Y, r_out_gg(X, f(Y))) → U7_gg(X, Y, p_in_gg(X, Y))
U7_gg(X, Y, p_out_gg(X, Y)) → p_out_gg(X, f(Y))
U2_gg(X, p_out_gg(X, f(f(X)))) → U3_gg(X, q_in_gg(X, f(X)))
U3_gg(X, q_out_gg(X, f(X))) → q_out_gg(X, f(f(X)))
Q_IN_GG(X, Y) → U1_GG(X, Y, e_in_gg(X, Y))
Q_IN_GG(X, Y) → E_IN_GG(X, Y)
Q_IN_GG(X, f(f(X))) → U2_GG(X, p_in_gg(X, f(f(X))))
Q_IN_GG(X, f(f(X))) → P_IN_GG(X, f(f(X)))
P_IN_GG(X, Y) → U5_GG(X, Y, e_in_gg(X, Y))
P_IN_GG(X, Y) → E_IN_GG(X, Y)
P_IN_GG(X, f(Y)) → U6_GG(X, Y, r_in_gg(X, f(Y)))
P_IN_GG(X, f(Y)) → R_IN_GG(X, f(Y))
R_IN_GG(X, Y) → U8_GG(X, Y, e_in_gg(X, Y))
R_IN_GG(X, Y) → E_IN_GG(X, Y)
R_IN_GG(X, f(Y)) → U9_GG(X, Y, q_in_gg(X, Y))
R_IN_GG(X, f(Y)) → Q_IN_GG(X, Y)
Q_IN_GG(X, f(f(Y))) → U4_GG(X, Y, p_in_gg(X, f(Y)))
Q_IN_GG(X, f(f(Y))) → P_IN_GG(X, f(Y))
U9_GG(X, Y, q_out_gg(X, Y)) → U10_GG(X, Y, r_in_gg(X, Y))
U9_GG(X, Y, q_out_gg(X, Y)) → R_IN_GG(X, Y)
R_IN_GG(f(X), f(X)) → U11_GG(X, t_in_gg(f(X), f(X)))
R_IN_GG(f(X), f(X)) → T_IN_GG(f(X), f(X))
T_IN_GG(X, Y) → U12_GG(X, Y, e_in_gg(X, Y))
T_IN_GG(X, Y) → E_IN_GG(X, Y)
T_IN_GG(f(X), f(Y)) → U13_GG(X, Y, q_in_gg(f(X), f(Y)))
T_IN_GG(f(X), f(Y)) → Q_IN_GG(f(X), f(Y))
U13_GG(X, Y, q_out_gg(f(X), f(Y))) → U14_GG(X, Y, t_in_gg(X, Y))
U13_GG(X, Y, q_out_gg(f(X), f(Y))) → T_IN_GG(X, Y)
U6_GG(X, Y, r_out_gg(X, f(Y))) → U7_GG(X, Y, p_in_gg(X, Y))
U6_GG(X, Y, r_out_gg(X, f(Y))) → P_IN_GG(X, Y)
U2_GG(X, p_out_gg(X, f(f(X)))) → U3_GG(X, q_in_gg(X, f(X)))
U2_GG(X, p_out_gg(X, f(f(X)))) → Q_IN_GG(X, f(X))
q_in_gg(X, Y) → U1_gg(X, Y, e_in_gg(X, Y))
e_in_gg(a, b) → e_out_gg(a, b)
U1_gg(X, Y, e_out_gg(X, Y)) → q_out_gg(X, Y)
q_in_gg(X, f(f(X))) → U2_gg(X, p_in_gg(X, f(f(X))))
p_in_gg(X, Y) → U5_gg(X, Y, e_in_gg(X, Y))
U5_gg(X, Y, e_out_gg(X, Y)) → p_out_gg(X, Y)
p_in_gg(X, f(Y)) → U6_gg(X, Y, r_in_gg(X, f(Y)))
r_in_gg(X, Y) → U8_gg(X, Y, e_in_gg(X, Y))
U8_gg(X, Y, e_out_gg(X, Y)) → r_out_gg(X, Y)
r_in_gg(X, f(Y)) → U9_gg(X, Y, q_in_gg(X, Y))
q_in_gg(X, f(f(Y))) → U4_gg(X, Y, p_in_gg(X, f(Y)))
U4_gg(X, Y, p_out_gg(X, f(Y))) → q_out_gg(X, f(f(Y)))
U9_gg(X, Y, q_out_gg(X, Y)) → U10_gg(X, Y, r_in_gg(X, Y))
r_in_gg(f(X), f(X)) → U11_gg(X, t_in_gg(f(X), f(X)))
t_in_gg(X, Y) → U12_gg(X, Y, e_in_gg(X, Y))
U12_gg(X, Y, e_out_gg(X, Y)) → t_out_gg(X, Y)
t_in_gg(f(X), f(Y)) → U13_gg(X, Y, q_in_gg(f(X), f(Y)))
U13_gg(X, Y, q_out_gg(f(X), f(Y))) → U14_gg(X, Y, t_in_gg(X, Y))
U14_gg(X, Y, t_out_gg(X, Y)) → t_out_gg(f(X), f(Y))
U11_gg(X, t_out_gg(f(X), f(X))) → r_out_gg(f(X), f(X))
U10_gg(X, Y, r_out_gg(X, Y)) → r_out_gg(X, f(Y))
U6_gg(X, Y, r_out_gg(X, f(Y))) → U7_gg(X, Y, p_in_gg(X, Y))
U7_gg(X, Y, p_out_gg(X, Y)) → p_out_gg(X, f(Y))
U2_gg(X, p_out_gg(X, f(f(X)))) → U3_gg(X, q_in_gg(X, f(X)))
U3_gg(X, q_out_gg(X, f(X))) → q_out_gg(X, f(f(X)))
Q_IN_GG(X, Y) → U1_GG(X, Y, e_in_gg(X, Y))
Q_IN_GG(X, Y) → E_IN_GG(X, Y)
Q_IN_GG(X, f(f(X))) → U2_GG(X, p_in_gg(X, f(f(X))))
Q_IN_GG(X, f(f(X))) → P_IN_GG(X, f(f(X)))
P_IN_GG(X, Y) → U5_GG(X, Y, e_in_gg(X, Y))
P_IN_GG(X, Y) → E_IN_GG(X, Y)
P_IN_GG(X, f(Y)) → U6_GG(X, Y, r_in_gg(X, f(Y)))
P_IN_GG(X, f(Y)) → R_IN_GG(X, f(Y))
R_IN_GG(X, Y) → U8_GG(X, Y, e_in_gg(X, Y))
R_IN_GG(X, Y) → E_IN_GG(X, Y)
R_IN_GG(X, f(Y)) → U9_GG(X, Y, q_in_gg(X, Y))
R_IN_GG(X, f(Y)) → Q_IN_GG(X, Y)
Q_IN_GG(X, f(f(Y))) → U4_GG(X, Y, p_in_gg(X, f(Y)))
Q_IN_GG(X, f(f(Y))) → P_IN_GG(X, f(Y))
U9_GG(X, Y, q_out_gg(X, Y)) → U10_GG(X, Y, r_in_gg(X, Y))
U9_GG(X, Y, q_out_gg(X, Y)) → R_IN_GG(X, Y)
R_IN_GG(f(X), f(X)) → U11_GG(X, t_in_gg(f(X), f(X)))
R_IN_GG(f(X), f(X)) → T_IN_GG(f(X), f(X))
T_IN_GG(X, Y) → U12_GG(X, Y, e_in_gg(X, Y))
T_IN_GG(X, Y) → E_IN_GG(X, Y)
T_IN_GG(f(X), f(Y)) → U13_GG(X, Y, q_in_gg(f(X), f(Y)))
T_IN_GG(f(X), f(Y)) → Q_IN_GG(f(X), f(Y))
U13_GG(X, Y, q_out_gg(f(X), f(Y))) → U14_GG(X, Y, t_in_gg(X, Y))
U13_GG(X, Y, q_out_gg(f(X), f(Y))) → T_IN_GG(X, Y)
U6_GG(X, Y, r_out_gg(X, f(Y))) → U7_GG(X, Y, p_in_gg(X, Y))
U6_GG(X, Y, r_out_gg(X, f(Y))) → P_IN_GG(X, Y)
U2_GG(X, p_out_gg(X, f(f(X)))) → U3_GG(X, q_in_gg(X, f(X)))
U2_GG(X, p_out_gg(X, f(f(X)))) → Q_IN_GG(X, f(X))
q_in_gg(X, Y) → U1_gg(X, Y, e_in_gg(X, Y))
e_in_gg(a, b) → e_out_gg(a, b)
U1_gg(X, Y, e_out_gg(X, Y)) → q_out_gg(X, Y)
q_in_gg(X, f(f(X))) → U2_gg(X, p_in_gg(X, f(f(X))))
p_in_gg(X, Y) → U5_gg(X, Y, e_in_gg(X, Y))
U5_gg(X, Y, e_out_gg(X, Y)) → p_out_gg(X, Y)
p_in_gg(X, f(Y)) → U6_gg(X, Y, r_in_gg(X, f(Y)))
r_in_gg(X, Y) → U8_gg(X, Y, e_in_gg(X, Y))
U8_gg(X, Y, e_out_gg(X, Y)) → r_out_gg(X, Y)
r_in_gg(X, f(Y)) → U9_gg(X, Y, q_in_gg(X, Y))
q_in_gg(X, f(f(Y))) → U4_gg(X, Y, p_in_gg(X, f(Y)))
U4_gg(X, Y, p_out_gg(X, f(Y))) → q_out_gg(X, f(f(Y)))
U9_gg(X, Y, q_out_gg(X, Y)) → U10_gg(X, Y, r_in_gg(X, Y))
r_in_gg(f(X), f(X)) → U11_gg(X, t_in_gg(f(X), f(X)))
t_in_gg(X, Y) → U12_gg(X, Y, e_in_gg(X, Y))
U12_gg(X, Y, e_out_gg(X, Y)) → t_out_gg(X, Y)
t_in_gg(f(X), f(Y)) → U13_gg(X, Y, q_in_gg(f(X), f(Y)))
U13_gg(X, Y, q_out_gg(f(X), f(Y))) → U14_gg(X, Y, t_in_gg(X, Y))
U14_gg(X, Y, t_out_gg(X, Y)) → t_out_gg(f(X), f(Y))
U11_gg(X, t_out_gg(f(X), f(X))) → r_out_gg(f(X), f(X))
U10_gg(X, Y, r_out_gg(X, Y)) → r_out_gg(X, f(Y))
U6_gg(X, Y, r_out_gg(X, f(Y))) → U7_gg(X, Y, p_in_gg(X, Y))
U7_gg(X, Y, p_out_gg(X, Y)) → p_out_gg(X, f(Y))
U2_gg(X, p_out_gg(X, f(f(X)))) → U3_gg(X, q_in_gg(X, f(X)))
U3_gg(X, q_out_gg(X, f(X))) → q_out_gg(X, f(f(X)))
Q_IN_GG(X, f(f(X))) → U2_GG(X, p_in_gg(X, f(f(X))))
U2_GG(X, p_out_gg(X, f(f(X)))) → Q_IN_GG(X, f(X))
Q_IN_GG(X, f(f(X))) → P_IN_GG(X, f(f(X)))
P_IN_GG(X, f(Y)) → U6_GG(X, Y, r_in_gg(X, f(Y)))
U6_GG(X, Y, r_out_gg(X, f(Y))) → P_IN_GG(X, Y)
P_IN_GG(X, f(Y)) → R_IN_GG(X, f(Y))
R_IN_GG(X, f(Y)) → U9_GG(X, Y, q_in_gg(X, Y))
U9_GG(X, Y, q_out_gg(X, Y)) → R_IN_GG(X, Y)
R_IN_GG(X, f(Y)) → Q_IN_GG(X, Y)
Q_IN_GG(X, f(f(Y))) → P_IN_GG(X, f(Y))
R_IN_GG(f(X), f(X)) → T_IN_GG(f(X), f(X))
T_IN_GG(f(X), f(Y)) → U13_GG(X, Y, q_in_gg(f(X), f(Y)))
U13_GG(X, Y, q_out_gg(f(X), f(Y))) → T_IN_GG(X, Y)
T_IN_GG(f(X), f(Y)) → Q_IN_GG(f(X), f(Y))
q_in_gg(X, Y) → U1_gg(X, Y, e_in_gg(X, Y))
e_in_gg(a, b) → e_out_gg(a, b)
U1_gg(X, Y, e_out_gg(X, Y)) → q_out_gg(X, Y)
q_in_gg(X, f(f(X))) → U2_gg(X, p_in_gg(X, f(f(X))))
p_in_gg(X, Y) → U5_gg(X, Y, e_in_gg(X, Y))
U5_gg(X, Y, e_out_gg(X, Y)) → p_out_gg(X, Y)
p_in_gg(X, f(Y)) → U6_gg(X, Y, r_in_gg(X, f(Y)))
r_in_gg(X, Y) → U8_gg(X, Y, e_in_gg(X, Y))
U8_gg(X, Y, e_out_gg(X, Y)) → r_out_gg(X, Y)
r_in_gg(X, f(Y)) → U9_gg(X, Y, q_in_gg(X, Y))
q_in_gg(X, f(f(Y))) → U4_gg(X, Y, p_in_gg(X, f(Y)))
U4_gg(X, Y, p_out_gg(X, f(Y))) → q_out_gg(X, f(f(Y)))
U9_gg(X, Y, q_out_gg(X, Y)) → U10_gg(X, Y, r_in_gg(X, Y))
r_in_gg(f(X), f(X)) → U11_gg(X, t_in_gg(f(X), f(X)))
t_in_gg(X, Y) → U12_gg(X, Y, e_in_gg(X, Y))
U12_gg(X, Y, e_out_gg(X, Y)) → t_out_gg(X, Y)
t_in_gg(f(X), f(Y)) → U13_gg(X, Y, q_in_gg(f(X), f(Y)))
U13_gg(X, Y, q_out_gg(f(X), f(Y))) → U14_gg(X, Y, t_in_gg(X, Y))
U14_gg(X, Y, t_out_gg(X, Y)) → t_out_gg(f(X), f(Y))
U11_gg(X, t_out_gg(f(X), f(X))) → r_out_gg(f(X), f(X))
U10_gg(X, Y, r_out_gg(X, Y)) → r_out_gg(X, f(Y))
U6_gg(X, Y, r_out_gg(X, f(Y))) → U7_gg(X, Y, p_in_gg(X, Y))
U7_gg(X, Y, p_out_gg(X, Y)) → p_out_gg(X, f(Y))
U2_gg(X, p_out_gg(X, f(f(X)))) → U3_gg(X, q_in_gg(X, f(X)))
U3_gg(X, q_out_gg(X, f(X))) → q_out_gg(X, f(f(X)))
Q_IN_GG(X, f(f(X))) → U2_GG(X, p_in_gg(X, f(f(X))))
U2_GG(X, p_out_gg(X, f(f(X)))) → Q_IN_GG(X, f(X))
Q_IN_GG(X, f(f(X))) → P_IN_GG(X, f(f(X)))
P_IN_GG(X, f(Y)) → U6_GG(X, Y, r_in_gg(X, f(Y)))
U6_GG(X, Y, r_out_gg(X, f(Y))) → P_IN_GG(X, Y)
P_IN_GG(X, f(Y)) → R_IN_GG(X, f(Y))
R_IN_GG(X, f(Y)) → U9_GG(X, Y, q_in_gg(X, Y))
U9_GG(X, Y, q_out_gg(X, Y)) → R_IN_GG(X, Y)
R_IN_GG(X, f(Y)) → Q_IN_GG(X, Y)
Q_IN_GG(X, f(f(Y))) → P_IN_GG(X, f(Y))
R_IN_GG(f(X), f(X)) → T_IN_GG(f(X), f(X))
T_IN_GG(f(X), f(Y)) → U13_GG(X, Y, q_in_gg(f(X), f(Y)))
U13_GG(X, Y, q_out_gg(f(X), f(Y))) → T_IN_GG(X, Y)
T_IN_GG(f(X), f(Y)) → Q_IN_GG(f(X), f(Y))
q_in_gg(X, Y) → U1_gg(X, Y, e_in_gg(X, Y))
e_in_gg(a, b) → e_out_gg(a, b)
U1_gg(X, Y, e_out_gg(X, Y)) → q_out_gg(X, Y)
q_in_gg(X, f(f(X))) → U2_gg(X, p_in_gg(X, f(f(X))))
p_in_gg(X, Y) → U5_gg(X, Y, e_in_gg(X, Y))
U5_gg(X, Y, e_out_gg(X, Y)) → p_out_gg(X, Y)
p_in_gg(X, f(Y)) → U6_gg(X, Y, r_in_gg(X, f(Y)))
r_in_gg(X, Y) → U8_gg(X, Y, e_in_gg(X, Y))
U8_gg(X, Y, e_out_gg(X, Y)) → r_out_gg(X, Y)
r_in_gg(X, f(Y)) → U9_gg(X, Y, q_in_gg(X, Y))
q_in_gg(X, f(f(Y))) → U4_gg(X, Y, p_in_gg(X, f(Y)))
U4_gg(X, Y, p_out_gg(X, f(Y))) → q_out_gg(X, f(f(Y)))
U9_gg(X, Y, q_out_gg(X, Y)) → U10_gg(X, Y, r_in_gg(X, Y))
r_in_gg(f(X), f(X)) → U11_gg(X, t_in_gg(f(X), f(X)))
t_in_gg(X, Y) → U12_gg(X, Y, e_in_gg(X, Y))
U12_gg(X, Y, e_out_gg(X, Y)) → t_out_gg(X, Y)
t_in_gg(f(X), f(Y)) → U13_gg(X, Y, q_in_gg(f(X), f(Y)))
U13_gg(X, Y, q_out_gg(f(X), f(Y))) → U14_gg(X, Y, t_in_gg(X, Y))
U14_gg(X, Y, t_out_gg(X, Y)) → t_out_gg(f(X), f(Y))
U11_gg(X, t_out_gg(f(X), f(X))) → r_out_gg(f(X), f(X))
U10_gg(X, Y, r_out_gg(X, Y)) → r_out_gg(X, f(Y))
U6_gg(X, Y, r_out_gg(X, f(Y))) → U7_gg(X, Y, p_in_gg(X, Y))
U7_gg(X, Y, p_out_gg(X, Y)) → p_out_gg(X, f(Y))
U2_gg(X, p_out_gg(X, f(f(X)))) → U3_gg(X, q_in_gg(X, f(X)))
U3_gg(X, q_out_gg(X, f(X))) → q_out_gg(X, f(f(X)))
q_in_gg(x0, x1)
e_in_gg(x0, x1)
U1_gg(x0, x1, x2)
p_in_gg(x0, x1)
U5_gg(x0, x1, x2)
r_in_gg(x0, x1)
U8_gg(x0, x1, x2)
U4_gg(x0, x1, x2)
U9_gg(x0, x1, x2)
t_in_gg(x0, x1)
U12_gg(x0, x1, x2)
U13_gg(x0, x1, x2)
U14_gg(x0, x1, x2)
U11_gg(x0, x1)
U10_gg(x0, x1, x2)
U6_gg(x0, x1, x2)
U7_gg(x0, x1, x2)
U2_gg(x0, x1)
U3_gg(x0, x1)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
Q_IN_GG(X, f(f(X))) → U2_GG(X, p_in_gg(X, f(f(X))))
P_IN_GG(X, f(Y)) → U6_GG(X, Y, r_in_gg(X, f(Y)))
R_IN_GG(X, f(Y)) → U9_GG(X, Y, q_in_gg(X, Y))
R_IN_GG(X, f(Y)) → Q_IN_GG(X, Y)
Q_IN_GG(X, f(f(Y))) → P_IN_GG(X, f(Y))
T_IN_GG(f(X), f(Y)) → U13_GG(X, Y, q_in_gg(f(X), f(Y)))
POL(P_IN_GG(x1, x2)) = x2
POL(Q_IN_GG(x1, x2)) = x2
POL(R_IN_GG(x1, x2)) = x2
POL(T_IN_GG(x1, x2)) = x2
POL(U10_gg(x1, x2, x3)) = 0
POL(U11_gg(x1, x2)) = 0
POL(U12_gg(x1, x2, x3)) = 0
POL(U13_GG(x1, x2, x3)) = x2
POL(U13_gg(x1, x2, x3)) = 0
POL(U14_gg(x1, x2, x3)) = 0
POL(U1_gg(x1, x2, x3)) = 0
POL(U2_GG(x1, x2)) = 1 + x1
POL(U2_gg(x1, x2)) = 0
POL(U3_gg(x1, x2)) = 0
POL(U4_gg(x1, x2, x3)) = 0
POL(U5_gg(x1, x2, x3)) = 0
POL(U6_GG(x1, x2, x3)) = x2
POL(U6_gg(x1, x2, x3)) = 0
POL(U7_gg(x1, x2, x3)) = 0
POL(U8_gg(x1, x2, x3)) = 0
POL(U9_GG(x1, x2, x3)) = x2
POL(U9_gg(x1, x2, x3)) = 0
POL(a) = 0
POL(b) = 0
POL(e_in_gg(x1, x2)) = 0
POL(e_out_gg(x1, x2)) = 0
POL(f(x1)) = 1 + x1
POL(p_in_gg(x1, x2)) = 0
POL(p_out_gg(x1, x2)) = 0
POL(q_in_gg(x1, x2)) = 0
POL(q_out_gg(x1, x2)) = 0
POL(r_in_gg(x1, x2)) = 0
POL(r_out_gg(x1, x2)) = 0
POL(t_in_gg(x1, x2)) = 0
POL(t_out_gg(x1, x2)) = 0
U2_GG(X, p_out_gg(X, f(f(X)))) → Q_IN_GG(X, f(X))
Q_IN_GG(X, f(f(X))) → P_IN_GG(X, f(f(X)))
U6_GG(X, Y, r_out_gg(X, f(Y))) → P_IN_GG(X, Y)
P_IN_GG(X, f(Y)) → R_IN_GG(X, f(Y))
U9_GG(X, Y, q_out_gg(X, Y)) → R_IN_GG(X, Y)
R_IN_GG(f(X), f(X)) → T_IN_GG(f(X), f(X))
U13_GG(X, Y, q_out_gg(f(X), f(Y))) → T_IN_GG(X, Y)
T_IN_GG(f(X), f(Y)) → Q_IN_GG(f(X), f(Y))
q_in_gg(X, Y) → U1_gg(X, Y, e_in_gg(X, Y))
e_in_gg(a, b) → e_out_gg(a, b)
U1_gg(X, Y, e_out_gg(X, Y)) → q_out_gg(X, Y)
q_in_gg(X, f(f(X))) → U2_gg(X, p_in_gg(X, f(f(X))))
p_in_gg(X, Y) → U5_gg(X, Y, e_in_gg(X, Y))
U5_gg(X, Y, e_out_gg(X, Y)) → p_out_gg(X, Y)
p_in_gg(X, f(Y)) → U6_gg(X, Y, r_in_gg(X, f(Y)))
r_in_gg(X, Y) → U8_gg(X, Y, e_in_gg(X, Y))
U8_gg(X, Y, e_out_gg(X, Y)) → r_out_gg(X, Y)
r_in_gg(X, f(Y)) → U9_gg(X, Y, q_in_gg(X, Y))
q_in_gg(X, f(f(Y))) → U4_gg(X, Y, p_in_gg(X, f(Y)))
U4_gg(X, Y, p_out_gg(X, f(Y))) → q_out_gg(X, f(f(Y)))
U9_gg(X, Y, q_out_gg(X, Y)) → U10_gg(X, Y, r_in_gg(X, Y))
r_in_gg(f(X), f(X)) → U11_gg(X, t_in_gg(f(X), f(X)))
t_in_gg(X, Y) → U12_gg(X, Y, e_in_gg(X, Y))
U12_gg(X, Y, e_out_gg(X, Y)) → t_out_gg(X, Y)
t_in_gg(f(X), f(Y)) → U13_gg(X, Y, q_in_gg(f(X), f(Y)))
U13_gg(X, Y, q_out_gg(f(X), f(Y))) → U14_gg(X, Y, t_in_gg(X, Y))
U14_gg(X, Y, t_out_gg(X, Y)) → t_out_gg(f(X), f(Y))
U11_gg(X, t_out_gg(f(X), f(X))) → r_out_gg(f(X), f(X))
U10_gg(X, Y, r_out_gg(X, Y)) → r_out_gg(X, f(Y))
U6_gg(X, Y, r_out_gg(X, f(Y))) → U7_gg(X, Y, p_in_gg(X, Y))
U7_gg(X, Y, p_out_gg(X, Y)) → p_out_gg(X, f(Y))
U2_gg(X, p_out_gg(X, f(f(X)))) → U3_gg(X, q_in_gg(X, f(X)))
U3_gg(X, q_out_gg(X, f(X))) → q_out_gg(X, f(f(X)))
q_in_gg(x0, x1)
e_in_gg(x0, x1)
U1_gg(x0, x1, x2)
p_in_gg(x0, x1)
U5_gg(x0, x1, x2)
r_in_gg(x0, x1)
U8_gg(x0, x1, x2)
U4_gg(x0, x1, x2)
U9_gg(x0, x1, x2)
t_in_gg(x0, x1)
U12_gg(x0, x1, x2)
U13_gg(x0, x1, x2)
U14_gg(x0, x1, x2)
U11_gg(x0, x1)
U10_gg(x0, x1, x2)
U6_gg(x0, x1, x2)
U7_gg(x0, x1, x2)
U2_gg(x0, x1)
U3_gg(x0, x1)
P_IN_GG(X, f(Y)) → R_IN_GG(X, f(Y))
R_IN_GG(f(X), f(X)) → T_IN_GG(f(X), f(X))
T_IN_GG(f(X), f(Y)) → Q_IN_GG(f(X), f(Y))
Q_IN_GG(X, f(f(X))) → P_IN_GG(X, f(f(X)))
q_in_gg(X, Y) → U1_gg(X, Y, e_in_gg(X, Y))
e_in_gg(a, b) → e_out_gg(a, b)
U1_gg(X, Y, e_out_gg(X, Y)) → q_out_gg(X, Y)
q_in_gg(X, f(f(X))) → U2_gg(X, p_in_gg(X, f(f(X))))
p_in_gg(X, Y) → U5_gg(X, Y, e_in_gg(X, Y))
U5_gg(X, Y, e_out_gg(X, Y)) → p_out_gg(X, Y)
p_in_gg(X, f(Y)) → U6_gg(X, Y, r_in_gg(X, f(Y)))
r_in_gg(X, Y) → U8_gg(X, Y, e_in_gg(X, Y))
U8_gg(X, Y, e_out_gg(X, Y)) → r_out_gg(X, Y)
r_in_gg(X, f(Y)) → U9_gg(X, Y, q_in_gg(X, Y))
q_in_gg(X, f(f(Y))) → U4_gg(X, Y, p_in_gg(X, f(Y)))
U4_gg(X, Y, p_out_gg(X, f(Y))) → q_out_gg(X, f(f(Y)))
U9_gg(X, Y, q_out_gg(X, Y)) → U10_gg(X, Y, r_in_gg(X, Y))
r_in_gg(f(X), f(X)) → U11_gg(X, t_in_gg(f(X), f(X)))
t_in_gg(X, Y) → U12_gg(X, Y, e_in_gg(X, Y))
U12_gg(X, Y, e_out_gg(X, Y)) → t_out_gg(X, Y)
t_in_gg(f(X), f(Y)) → U13_gg(X, Y, q_in_gg(f(X), f(Y)))
U13_gg(X, Y, q_out_gg(f(X), f(Y))) → U14_gg(X, Y, t_in_gg(X, Y))
U14_gg(X, Y, t_out_gg(X, Y)) → t_out_gg(f(X), f(Y))
U11_gg(X, t_out_gg(f(X), f(X))) → r_out_gg(f(X), f(X))
U10_gg(X, Y, r_out_gg(X, Y)) → r_out_gg(X, f(Y))
U6_gg(X, Y, r_out_gg(X, f(Y))) → U7_gg(X, Y, p_in_gg(X, Y))
U7_gg(X, Y, p_out_gg(X, Y)) → p_out_gg(X, f(Y))
U2_gg(X, p_out_gg(X, f(f(X)))) → U3_gg(X, q_in_gg(X, f(X)))
U3_gg(X, q_out_gg(X, f(X))) → q_out_gg(X, f(f(X)))
q_in_gg(x0, x1)
e_in_gg(x0, x1)
U1_gg(x0, x1, x2)
p_in_gg(x0, x1)
U5_gg(x0, x1, x2)
r_in_gg(x0, x1)
U8_gg(x0, x1, x2)
U4_gg(x0, x1, x2)
U9_gg(x0, x1, x2)
t_in_gg(x0, x1)
U12_gg(x0, x1, x2)
U13_gg(x0, x1, x2)
U14_gg(x0, x1, x2)
U11_gg(x0, x1)
U10_gg(x0, x1, x2)
U6_gg(x0, x1, x2)
U7_gg(x0, x1, x2)
U2_gg(x0, x1)
U3_gg(x0, x1)
P_IN_GG(X, f(Y)) → R_IN_GG(X, f(Y))
R_IN_GG(f(X), f(X)) → T_IN_GG(f(X), f(X))
T_IN_GG(f(X), f(Y)) → Q_IN_GG(f(X), f(Y))
Q_IN_GG(X, f(f(X))) → P_IN_GG(X, f(f(X)))
q_in_gg(x0, x1)
e_in_gg(x0, x1)
U1_gg(x0, x1, x2)
p_in_gg(x0, x1)
U5_gg(x0, x1, x2)
r_in_gg(x0, x1)
U8_gg(x0, x1, x2)
U4_gg(x0, x1, x2)
U9_gg(x0, x1, x2)
t_in_gg(x0, x1)
U12_gg(x0, x1, x2)
U13_gg(x0, x1, x2)
U14_gg(x0, x1, x2)
U11_gg(x0, x1)
U10_gg(x0, x1, x2)
U6_gg(x0, x1, x2)
U7_gg(x0, x1, x2)
U2_gg(x0, x1)
U3_gg(x0, x1)
q_in_gg(x0, x1)
e_in_gg(x0, x1)
U1_gg(x0, x1, x2)
p_in_gg(x0, x1)
U5_gg(x0, x1, x2)
r_in_gg(x0, x1)
U8_gg(x0, x1, x2)
U4_gg(x0, x1, x2)
U9_gg(x0, x1, x2)
t_in_gg(x0, x1)
U12_gg(x0, x1, x2)
U13_gg(x0, x1, x2)
U14_gg(x0, x1, x2)
U11_gg(x0, x1)
U10_gg(x0, x1, x2)
U6_gg(x0, x1, x2)
U7_gg(x0, x1, x2)
U2_gg(x0, x1)
U3_gg(x0, x1)
P_IN_GG(X, f(Y)) → R_IN_GG(X, f(Y))
R_IN_GG(f(X), f(X)) → T_IN_GG(f(X), f(X))
T_IN_GG(f(X), f(Y)) → Q_IN_GG(f(X), f(Y))
Q_IN_GG(X, f(f(X))) → P_IN_GG(X, f(f(X)))
From the DPs we obtained the following set of size-change graphs: